Composition of two non-periodic functions can be periodic